<?php if (!defined('APP')) die('error');?>
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/11/15 0015
 * Time: 上午 9:25
 */
<div class="content">
    <!--文章标题--> <?php echo $data[0];?>
                     <p><?php echo $data[1];?></p>
</div>
<div class="page">
    <a href="?id=<?php echo $id_prev;?>">上一篇</a>
    <a href="?id=<?php echo $id_next; ?>">下一篇</a>
</div>
<div class="history">
    浏览历史：(<a href="?action=clear">清除历史</a> )
    <ul><?php
    foreach ($data_history as $k=>$v){
        echo"<li><a href=\"?id=$k\">$v</a></li>";
    }
        ?></ul>
</div>